c# file exist

76

c# check file exists -

if (File.Exists(@"D:\myfile.txt")) {
   Console.WriteLine("The file exists.");
}

c# file exist -

File.Exists(path)

Comments

Submit
0 Comments